﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Books.Models;
namespace BookMangerAPI.Controllers
{
    [Authorize]
    [ApiController]
    [Route("api/[controller]")]
    public class BooksController : ControllerBase
    {
        public BooksController()
        {
        }

        [HttpGet()]
        public ApiResp Get()
        {
            var retVal = new Books.Models.ApiResp();
            retVal.Result = true;
            retVal.Msg = "请求成功...";
            return retVal;
        }

       

    }
}
